package com.tyk.bookstore.front.payment.model.query;

import com.tyk.bookstore.front.common.core.model.enume.PaymentWay;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author tyk
 * @description PayCallbackQuery
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PayCallbackQuery {
    @Schema(description = "订单ID")
    private Long orderId;
    @Schema(description = "订单金额")
    private BigDecimal amount;
    @Schema(description = "会员ID")
    private Long memberId;
    @Schema(description = "第三方流水号")
    private String outTradeNo;
    @Schema(description = "支付方式")
    private PaymentWay paymentWay;
    @Schema(description = "支付时间")
    private LocalDateTime paymentTime;
}
